<template>
  <header>
    <top-nav-bar />
  </header>
  <main>
    <RouterView />
  </main>
</template>

<script setup>
  onBeforeUpdate(() => {
    if ($dd.env.platform !== 'notInDingTalk') {
      $dd.ready(() => {
        $dd.biz.navigation.hideBar({
          hidden: true,
        })
      })
    }
  })
</script>

<style scoped></style>
